package oop;

public class Lamp {
    private Buble buble;//属性包含

    public Buble getBuble() {
        return buble;
    }

    public void setBuble(Buble buble) {
        this.buble = buble;
    }

    public void on() {
        buble.shine();
    }
}
